package com.liu.qqRobot.wm.entity.dto;

import cn.hutool.core.annotation.Alias;
import com.liu.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class WarframeMarketItemsOrderDTO extends BaseEntity {

    /**
     * 白金数量
     */
    private Integer platinum;

    /**
     * 物品贩卖/收购数量
     */
    private Integer quantity;

    /**
     * 订单类型 sell-想要卖 buy-想要买
     */
    @Alias("order_type")
    private String orderType;

    /**
     * 卖家信息
     */
    private User user;

    /**
     * 平台
     */
    private String platform;

    private String creationDate;

    private String lastUpdate;

    private Boolean visible;

    /**
     * 订单id
     */
    private String id;

    /**
     * 物品等级
     */
    @Alias("mod_rank")
    private Integer modRank;

    private String region;

    /**
     * 顺序 offline-3 ingame-1 online-2
     */
    private Integer sort;

    @Getter
    @Setter
    public static class User extends BaseEntity {

        /**
         * 声誉
         */
        private Integer reputation;

        private String locale;

        private String avatar;

        @Alias("last_seen")
        private String lastSeen;

        /**
         * 游戏名称
         */
        @Alias("ingame_name")
        private String ingameName;

        private String id;

        private String region;

        /**
         * 状态 offline-离线 ingame-游戏中 online-在线
         */
        private String status;
    }


}
